package com.hivekion.customer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hivekion.common.entity.PagedResultVo;
import com.hivekion.customer.domain.Customer;
import com.hivekion.customer.domain.vo.CustomerModelVo;
import com.hivekion.customer.domain.vo.CustomerSearchInputVo;
import com.hivekion.customer.domain.vo.CustomerViewVo;

public interface ICustomerService extends IService<Customer> {

    /**
     * 获取用户列表
     *
     * @param vo
     * @return
     */
    PagedResultVo<CustomerViewVo> getList(CustomerSearchInputVo vo);

    /**
     * 修改用户状态
     *
     * @param key
     * @param status
     * @return
     */
    boolean updateStatus(String key, Integer status);

    /**
     * 获取用户详细信息
     *
     * @param key
     * @return
     */
    CustomerModelVo getInfo(String key);
}
